<script setup lang="ts"></script>

<template>
  <Transition name="fade">
    <slot></slot>
    <!-- <div v-if="show">hello</div> -->
  </Transition>
</template>

<style scoped>
.fade-enter-active,
.fade-leave-active {
  transition: all 0.3s linear;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
</style>
